package com.zm.campus.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_tree_avatar")
public class TreeAvatar {//树洞头像
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String treeAvatar;
    private Integer schoolId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateAvatarTime;
    private String lastUpdateAdminId;

}
